Skip to content

Conversation

@aykevl
Copy link
Member

@aykevl aykevl commented Dec 16, 2025

This is useful to create a fixed-size BlockDevice from machine.Flash, which can vary when the firmware changes (and might require a format each time it crosses a page boundary).

Tested with littlefs, it seems to be working fine.

This is useful to create a fixed-size BlockDevice from machine.Flash,
which can vary when the firmware changes (and might require a format
each time it crosses a page boundary).

Tested with littlefs, it seems to be working fine.
Copy link
Member

@deadprogram deadprogram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need exactly this to not need to repopulate the contents on my flash storage if the code I was working on increased too much in size while under development.

Thanks @aykevl !

@deadprogram deadprogram merged commit 2267f9b into dev Dec 17, 2025
1 check passed
@deadprogram deadprogram deleted the slice-BlockDev branch December 17, 2025 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants